<script>
import PrivatePolicy from '../licences/DeployPolicy.vue'
export default {
  name: "Install",
  components: {
    PrivatePolicy,
  },
  methods: {
    iagree(){
      document.getElementById('step 1').style.display='none'
      document.getElementById('step 2').style.display='block'
    }
  }
}
</script>

<template>
  <div class="install-container" style="padding-left: 5px">
    <h3>NaYo Cloud 软件部署</h3>
    <div id="step 1">
      在您继续之前，请阅读以下协议<br><br><br>
      <iframe src="/licences/deploy" height="600px" width="1000px" style="border: 1px #000 solid;"></iframe>
      <br><br>
      <el-button @click="iagree" type="danger">我同意</el-button>
    </div>
    <div id="step 2" style="display: none;">
      <br><br><br>
      <p style="color:red;">注意：如果你使用的是我们提供的二进制部署版，或者未经修改直接运行源程序，数据将通过内置的Sqlite3数据库存储</p>
    </div>
  </div>
</template>

<style>

</style>